package com.casic.ops.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.casic.ops.entity.domain.ApplicationActionDO;
import com.casic.ops.entity.dto.ApplicationActionConfigDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName ops-platform
 * @Description 应用执行接口
 * @Author mianbin
 * @Date 2022/5/31 10:59
 * @Version 1.0
 **/
public interface ApplicationActionDAO extends BaseMapper<ApplicationActionDO> {

    /**
     * 获取应用是否已配置
     *
     * @param profileId profileId
     * @param appIdList appIdList
     * @return rows
     */
    List<ApplicationActionConfigDTO> getAppIsConfig(@Param("profileId") Long profileId, @Param("appIdList") List<Long> appIdList);

}
